<script>
export default {
  name: "base-dialog",
}
</script>

<template>
  <div class="layui-panel dialog">
    <div class="header">
      <span class="text-message"></span>
      <span class="close">x</span>
    </div>

    <div class="center">
      <span></span>
    </div>

    <div class="footer">
      <button type="button" class="layui-btn layui-btn-normal">确认</button>
      <button type="button" class="layui-btn layui-btn-primary">取消</button>
    </div>
  </div>
</template>

<style scoped lang="less">
.layui-panel {
  width: 500px;
  height: 210px;
  margin: 100px auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  .header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 10px;

    .text-message {
      font-size: 19px;
    }

    .close {
      font-size: 19px;
    }
  }

  .center {
    display: flex;
    justify-content: space-between;
    font-size: 19px;
  }

  .footer {
    display: flex;
    justify-content: flex-end;
  }
}
</style>